const Util={
    searchAPI(router,searchText){
        searchText = searchText.replace(/\?/g,"");; 
        if (searchText !== "") {
            router.push(`/search/${searchText}`);
        }
    }
}

export default Util;